package com.zhiyinlou.api.page.user;

import java.util.HashMap;
import com.zhiyinlou.api.util.file.ParsePropertiesUtil;
import com.zhiyinlou.api.util.http.HttpclientUtil;
/**
 * 示例：获取图片验证码接口
 * @author nore
 * 返回示例：{"code":"200","imgcode":"1234"}
 */
public class GetCodeTest {

	public static String getcode() {

		String url = ParsePropertiesUtil.getInstance().getProperty("url_user");
		url = url + "/getCode";

		HashMap<String, String> requestHeaders = new HashMap<String, String>();

		String response = HttpclientUtil.httpCommonGet(url, requestHeaders);
		return response;
	}
}
